package com.ylp.common.request;

import java.io.Serializable;

public class PageParm implements Serializable {
    // 当前页
    private Long currentPage = 1L;
    // 每页的数据量
    private Long pageSize = 10L;

    public Long getCurrentPage() {
        return currentPage;
    }
    public PageParm() {
    }

    public PageParm(Long currentPage, Long pageSize) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
    }

    public void setCurrentPage(Long currentPage) {
        this.currentPage = currentPage;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }
}
